package com.ssx.service;

import com.ssx.mapper.GoodsMapper;
import com.ssx.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodService {
    @Autowired
    GoodsMapper goodsMapper = null;
   public List<Goods> findAll(){
       List<Goods> list = goodsMapper.findAll();
       return list;
   }
}
